package com.dz.action;

import com.dz.bean.student;
import com.dz.dao.studentMapper;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;



@Controller
@ResponseBody
public class jqueryServlet {
    @Resource
    private studentMapper studentMapper;
    @ResponseBody
    @RequestMapping("/jqueryServlet")
    public List<student>  service(student userBean){
        List<student> list= studentMapper.selectLike1(userBean,true);
        return  list;




    }

}
